#!/bin/bash

# 系统SSH服务和客户端的相关配置
echo ">>>>Config SSH Service"

CURPATH=$(dirname $0)

cp -f $CURPATH/sshd_config /etc/ssh/

chmod 600 /etc/ssh/sshd_config

echo ">>>>Restart SSH Service"
#service sshd restart
systemctl restart sshd.service

